package com.situ.day10.thread;

public class JiShuThread extends Thread{

	public JiShuThread(String name) {
		super(name);//设置线程的名字
	}

	@Override
	public void run() {
		for (int i = 1; i <= 100; i += 2) {
			System.out.println(Thread.currentThread().getName() + i);
		}
	}
}
